package com.baosu.service;

import com.baosu.domain.Result;
import com.baosu.domain.User;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

public interface UserService extends IService<User> {

    Result login(HttpServletRequest request, User user);

    Result updatePwd(String oldPwd, String newPwd);
}
